package yxk.task;

import kd.bos.context.RequestContext;
import kd.bos.exception.KDException;
import kd.bos.logging.Log;
import kd.bos.logging.LogFactory;
import kd.bos.openapi.common.result.CustomApiResult;
import kd.bos.schedule.executor.AbstractTask;
import kd.sdk.plugin.Plugin;
import kd.wtc.wtis.webapi.punchcard.PunchCardApi;
import kd.wtc.wtis.webapi.punchcard.model.PunchCardReqMode;
import kd.wtc.wtis.webapi.punchcard.model.PunchCardRespModel;
import kd.wtc.wtis.webapi.punchcard.validate.ListValidator;
import yxk.task.utils.PunchcardDataUtil;
import yxk.task.utils.WtamBusitripselfbillServiceApi;

import java.util.List;
import java.util.Map;

/**
 * 汇联易出差申请单同步
 */
public class BusitripselfbillTask extends AbstractTask implements Plugin {
    private static final Log LOG = LogFactory.getLog(BusitripselfbillTask.class);
    @Override
    public void execute(RequestContext requestContext, Map<String, Object> map) throws KDException {
        WtamBusitripselfbillServiceApi instance = WtamBusitripselfbillServiceApi.getInstance();
        String evectionBill = instance.getHLYBusitripself();
        LOG.info("BusitripselfbillTask.execute.evectionBill{}",evectionBill);
    }
}